home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 42
/
Amiga Format AFCD42 (Issue 126, Aug 1999).iso
/
-serious-
/
programming
/
other
/
wild
/
include
/
inline
/
module.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-05-25
|
1KB
|
48 lines
#ifndef _INLINE_MODULE_H
#define _INLINE_MODULE_H
#ifndef __INLINE_MACROS_H
#include <inline/macros.h>
#endif
#ifndef MODULE_BASE_NAME
#define MODULE_BASE_NAME ModuleBase
#endif
#define SetModuleTags(WildApp, Tags) \
LP2NR(0x1E, SetModuleTags, struct WildApp *, WildApp, a0, struct TagItem *, Tags, a1, \
, MODULE_BASE_NAME)
#ifndef NO_INLINE_STDARG
#define SetModuleTagsTags(WildApp, tags...) \
({ULONG _tags[] = {tags}; SetModuleTags((WildApp), (struct TagItem *) _tags);})
#endif
#define GetModuleTags(WildApp, Tags) \
LP2NR(0x24, GetModuleTags, struct WildApp *, WildApp, a0, struct TagItem *, Tags, a1, \
, MODULE_BASE_NAME)
#ifndef NO_INLINE_STDARG
#define GetModuleTagsTags(WildApp, tags...) \
({ULONG _tags[] = {tags}; GetModuleTags((WildApp), (struct TagItem *) _tags);})
#endif
#define SetupModule(WildApp, Tags) \
LP2(0x2A, BOOL, SetupModule, struct WildApp *, WildApp, a0, struct TagItem *, Tags, a1, \
, MODULE_BASE_NAME)
#ifndef NO_INLINE_STDARG
#define SetupModuleTags(WildApp, tags...) \
({ULONG _tags[] = {tags}; SetupModule((WildApp), (struct TagItem *) _tags);})
#endif
#define CloseModule(WildApp) \
LP1NR(0x30, CloseModule, struct WildApp *, WildApp, a0, \
, MODULE_BASE_NAME)
#define RefreshModule(WildApp) \
LP1(0x36, BOOL, RefreshModule, struct WildApp *, WildApp, a0, \
, MODULE_BASE_NAME)
#endif /* _INLINE_MODULE_H */